package org.ax.pojo.employ;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

@Data //员工表
public class Employee  implements Serializable {

	private static final long serialVersionUID =  1819558767863577773L;
	@TableId
	private String empId;

	private String empName;

	private String sex;

	private String idCode;
	@JsonFormat(pattern = "yyyy-MM-dd")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private java.time.LocalDate birthday;
	@JsonFormat(pattern = "yyyy-MM-dd")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private java.time.LocalDate joinDate;

	private String status;

	private String education;

	private String degree;

	private String major;

	private String graduateSchool;

	private String educationForm;

	private String departmentId;
	@TableField(exist = false)
	private Department department;


}
